package com.cnpc.consumer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @date: 2020/4/24 11:08
 * @author: ruikanwang
 * @version: V0.1
 * Copyright: 2020 www.richfit.com. All rights reserved.
 */
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients
//是否开启断路器(F版本默认开启  不加此项actuator监控无法获取actuator/hystrix.stream)
@EnableCircuitBreaker
public class CApplication {
    public static void main(String[] args) {
        SpringApplication.run(CApplication.class,args);
    }
}
